home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr05
/
wet101.zip
/
WET.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-14
|
1KB
|
25 lines
// Functions provided by WETSTD.DLL
extern "C"
{
VOID FAR PASCAL _export EncryptXORBlock(unsigned char far *block, int block_length, unsigned char far *code_key);
VOID FAR PASCAL _export EncryptTranspositionBlock(unsigned char far *block, int block_length, unsigned char far *code_key);
VOID FAR PASCAL _export EncryptSubstitutionBlock(unsigned char far *block, int block_length, unsigned char far *code_key);
unsigned int FAR PASCAL _export CRCBlock(unsigned char far *block,int block_length);
unsigned int FAR PASCAL _export GetVersionWETSTD(void);
}
// Functions provided by WETDES.DLL
extern "C"
{
VOID FAR PASCAL _export DESKeyloadEncrypt(unsigned char far *key);
VOID FAR PASCAL _export DESKeyloadDecrypt(unsigned char far *key);
VOID FAR PASCAL _export CryptDES(unsigned char far *datablock);
VOID FAR PASCAL _export EncryptDESBlock(unsigned char far *block,int block_length);
VOID FAR PASCAL _export DecryptDESBlock(unsigned char far *block,int block_length);
VOID FAR PASCAL _export EncryptDESBlockCBC(unsigned char far *block,int block_length);
VOID FAR PASCAL _export DecryptDESBlockCBC(unsigned char far *block,int block_length);
unsigned int FAR PASCAL _export GetVersionWETDES(void);
}